package com.hfut.jpoa.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户模块
 * 
 * @author Administrator
 * 
 */
public class Customer implements Serializable
{

	/**
	 * 序列
	 */
	private static final long serialVersionUID = 5951328367822915018L;

	private Integer id;

	private String name;

	private String linkman;

	private String contactPhone;

	private String topLeader;

	private String topLeaderPhone;

	private String note;

	private Date createDate;

	private Date lastUpdateDate;
	
	/**
	 * 客户类别
	 */
	private String customerType;
	
	/**
	 * 层级
	 */
	private Integer level;
	
	/**
	 * 父级编码
	 */
	private Integer parent;

	/**
	 * 状态 0无效 1有效
	 */
	private String state;

	/**
	 * 路线
	 */
	private String pathId;

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name == null ? null : name.trim();
	}

	public String getLinkman()
	{
		return linkman;
	}

	public void setLinkman(String linkman)
	{
		this.linkman = linkman == null ? null : linkman.trim();
	}

	public String getContactPhone()
	{
		return contactPhone;
	}

	public void setContactPhone(String contactPhone)
	{
		this.contactPhone = contactPhone == null ? null : contactPhone.trim();
	}

	public String getTopLeader()
	{
		return topLeader;
	}

	public void setTopLeader(String topLeader)
	{
		this.topLeader = topLeader == null ? null : topLeader.trim();
	}

	public String getTopLeaderPhone()
	{
		return topLeaderPhone;
	}

	public void setTopLeaderPhone(String topLeaderPhone)
	{
		this.topLeaderPhone = topLeaderPhone == null ? null : topLeaderPhone
		        .trim();
	}

	public String getNote()
	{
		return note;
	}

	public void setNote(String note)
	{
		this.note = note == null ? null : note.trim();
	}

	public String getState()
	{
		return state;
	}

	public void setState(String state)
	{
		this.state = state;
	}

	public Date getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public Date getLastUpdateDate()
	{
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate)
	{
		this.lastUpdateDate = lastUpdateDate;
	}

	public String getPathId()
    {
    	return pathId;
    }

	public void setPathId(String pathId)
    {
    	this.pathId = pathId;
    }

	public String getCustomerType()
    {
    	return customerType;
    }

	public void setCustomerType(String customerType)
    {
    	this.customerType = customerType;
    }

	public Integer getLevel()
    {
    	return level;
    }

	public void setLevel(Integer level)
    {
    	this.level = level;
    }

	public Integer getParent()
    {
    	return parent;
    }

	public void setParent(Integer parent)
    {
    	this.parent = parent;
    }
}